package com.bsdsma.visonManagementSystemapp.repository;

import com.bsdsma.visonManagementSystemapp.entity.Admin;
import org.springframework.data.jpa.repository.JpaRepository;
 
public interface AdminRepository extends JpaRepository<Admin, Long> {
    Admin findByGonghaoAndStatus(Long gonghao, int status);
    Admin findByAccountAndStatus(String account, int status);
    Admin findByCellphoneNumberAndStatus(String cellphoneNumber, int status);
} 